<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class JndForecast extends Model
{
    //
    //iswin 获取器
    public function getIswinAttr($value) {

        $status = [
            '等开'=>'等开,color:#ffa200',
            '中'=>'中,color:#e82f2f',
            '错'=>'错,color:#1bd357',
        ];
        $status = explode(',',$status[$value]);
        return $status;
    }
}
